package com.ddwl.order.dao;

import com.ddwl.common.dao.TkDao;
import com.ddwl.order.dao.mapper.ThirdPartRecordMapper;
import com.ddwl.order.dao.model.ThirdPartRecord;
import com.ddwl.schema.util.DateUtil;
import org.springframework.stereotype.Repository;

/**
 * (ThirdPartRecord)表数据库访问层
 *
 * @author wenbin
 * @since 2020-08-13
 */
@Repository
public class ThirdPartRecordDao extends TkDao<ThirdPartRecordMapper, ThirdPartRecord> {

    public void deleteLog() {
        baseMapper.deleteLog(DateUtil.getTimesMorning(-15));
    }
}
